﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Networking.Sockets;
using Windows.Networking.Connectivity;
using Windows.ApplicationModel.DataTransfer;
using Windows.Networking;
using System.Runtime.Serialization;

namespace eLuk.Entity
{
	[DataContract]
	public class Attachment
	{
		[DataMember]
		public bool IsEmbededObject { get; set; }
		[DataMember]
		public string Name { get; set; }
		[DataMember]
		public ContentType ContentType { get; set; }
		[DataMember]
		public byte[] Content { get; set; }
		public Attachment( string _name )
		{
			
			this.Name = _name;
		}
	}

	[CollectionDataContract]
	public class Attachments : List<Attachment>
	{ 
	
	}
}
